package ru.dc.object.events.manager;

import ru.dc.Connection;
import ru.dc.object.ServerInfo;

/**
 * Created by IntelliJ IDEA.
 * User: deady
 * Date: 08.10.2010
 * Time: 23:45:28
 * To change this template use File | Settings | File Templates.
 */
public class AddConnection extends ConnectionManagerEvent {

    private ServerInfo serverInfo;
    private boolean hubConnection = false;

    public AddConnection(ServerInfo serverInfo) {
        this.serverInfo = serverInfo;
    }

    public ServerInfo getServerInfo() {
        return serverInfo;
    }

    public boolean isHubConnection() {
        return hubConnection;
    }

    public void setHubConnection(boolean hubConnection) {
        this.hubConnection = hubConnection;
    }
}
